package com.lanswon.dao;

import java.util.List;
import java.util.Map;

import com.lanswon.entity.CommonProblem;

public interface CommonProblemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CommonProblem record);

    int insertSelective(CommonProblem record);

    CommonProblem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CommonProblem record);

    int updateByPrimaryKeyWithBLOBs(CommonProblem record);

    int updateByPrimaryKey(CommonProblem record);

	Integer selectProblemPageListCount(Map<String, Object> map);

	List<CommonProblem> selectCommonProblemPageList(Map<String, Object> map);

	Integer selectCommonProblemCountByCondition(Map<String, Object> map);

	List<CommonProblem> selectCommonProblemByCondition(Map<String, Object> map);

	List<CommonProblem> selectLike(String search);

}